<!DOCTYPE HTML>
<html>
   <head>
		<meta charset="utf-8">
		<meta http-equiv="X-UA-Compatible" content="IE=edge">
		<meta name="viewport" content="width=device-width, initial-scale=1">
		<title>知果汇</title>
		<link href="_CSS_/bootstrap.min.css" rel="stylesheet">
		<link href="_CSS_/simple-line-icons.css" rel="stylesheet">
		<link href="_CSS_/font-awesome.min.css" rel="stylesheet">
		<link href="_CSS_/jasny-bootstrap.min.css" rel="stylesheet">
		<link rel="stylesheet" href="_CSS_/nanoscroller.css">
		<link href="_CSS_/style.css" rel="stylesheet">
		<link rel="stylesheet" type="text/css" href="_CSS_/jquery-ui.css">
		<!--[if lt IE 9]>
		  <script src="_JS_/html5shiv.min.js"></script>
		  <script src="_JS_/respond.min.js"></script>
		<![endif]-->
		<style type="text/css">
		    body{background-color: #ffffff;}
			.row{margin-left: 0px;margin-right: 0px;}
			.radio-box{display:inline-block;width: 64px;}
			.formControls{padding-right:50px; position: relative;}
			.textarea {height: 100px;resize: none;font-size: 14px;padding: 4px;}
            .textarea-numberbar {position: absolute;right: 70px;bottom: 5px;z-index: 1;margin-bottom: 0;}
			.img-info img{
				width: 120px;
				height: 90px;
			}
		</style>
    </head>
	<body>
	<article class="page-container">
		<form class="form form-horizontal" id="form-admin-add">
			<div class="row cl">
				<label class="form-label col-xs-4 col-sm-3">人才姓名：</label>
				<div class="formControls col-xs-8 col-sm-9">
					<p></p>
				</div>
			</div>
			<div class="row cl">
				<label class="form-label col-xs-4 col-sm-3">性别：</label>
				<div class="formControls col-xs-8 col-sm-9">
					<p></p>
				</div>
			</div>
			<div class="row cl">
				<label class="form-label col-xs-4 col-sm-3">图片：</label>
				<div class="formControls col-xs-8 col-sm-9">
					<div class="img-info"><img src=""/></div>
				</div>
			</div>
			<div class="row cl">
				<label class="form-label col-xs-4 col-sm-3">人才标签：</label>
				<div class="formControls col-xs-8 col-sm-9">
					<p></p>
				</div>
			</div>
			<div class="row cl">
				<label class="form-label col-xs-4 col-sm-3">职务：</label>
				<div class="formControls col-xs-8 col-sm-9">
					<p></p>
				</div>
			</div>
			<div class="row cl">
				<label class="form-label col-xs-4 col-sm-3">所在省市：</label>
				<div class="formControls col-xs-8 col-sm-9">
				    <p></p>
				</div>
			</div>
			<div class="row cl">
				<label class="form-label col-xs-4 col-sm-3">研究领域：</label>
				<div class="formControls col-xs-8 col-sm-9">
					<p></p>
				</div>
			</div>
			<div class="row cl">
				<label class="form-label col-xs-4 col-sm-3">工作单位：</label>
				<div class="formControls col-xs-8 col-sm-9">
					<p></p>
				</div>
			</div>

			<div class="row cl">
				<label class="form-label col-xs-4 col-sm-3">人才库类别：</label>
				<div class="formControls col-xs-8 col-sm-9">
                    <p></p>
				</div>
			</div>
			
			<div class="row cl">
				<label class="form-label col-xs-4 col-sm-3">主要学术著作及论文：</label>
				<div class="formControls col-xs-8 col-sm-9">
					<p></p>
				</div>
			</div>
			<div class="row cl">
				<label class="form-label col-xs-4 col-sm-3">国内外学术团体任职情况：</label>
				<div class="formControls col-xs-8 col-sm-9">
					<p></p>
				</div>
			</div>
		</form>
	</article>

    <script src="_JS_/jquery.min.js"></script>
    <script src="_JS_/bootstrap.min.js"></script>
    <script src="_JS_/jasny-bootstrap.min.js"></script>
    <script src="_JS_/jquery.slimscroll.min.js"></script>
    <script src="_JS_/jquery.nanoscroller.min.js"></script>
    <script src="_JS_/metismenu.min.js"></script>
    <script src="_JS_/float-custom.js"></script>

	<script type="text/javascript">
		var url=window.location.href;
		id = url.split("#")[1];
	$(function(){
		//详情加载
		$.ajax({
			type: "get",
			url: "{:url('api/talent/talent_detail')}",
			dataType: 'jsonp',
			'jsonp':'callback',
			data:{'id':id},
			success: function (msg) {
				if(msg.code == 200){
					//编辑器准备好之后加载内容
					$("p:eq(0)").html(msg.data.talentname);
					if(msg.data.sex==1){
						$("p:eq(1)").html("男");
					}else{
						$("p:eq(1)").html("女");
					}
					$('.img-info').find('img').attr("src","_SRC_/Talent/"+msg.data.img_url);
					$("p:eq(3)").html(msg.data.duties);
					$("p:eq(2)").html(msg.data.label);
					$("p:eq(4)").html(msg.data.province);
					$("p:eq(5)").html(msg.data.field);
					$("p:eq(6)").html(msg.data.workplace);
					$("p:eq(7)").html(msg.data.talentrole);
					$("p:eq(8)").html(msg.data.composition);
					$("p:eq(9)").html(msg.data.office);
				}
				if(msg.code==1000){
					layer.msg('获取信息不成功!',{icon:1,time:2000});
				}
			}
		});
	})
	
	</script> 
</body>
</html>